package com.bristua.barcode.supplier.enums;

/**
 * Created by Administrator on 2019/8/5 0005.
 */
public enum SupplierCode {
    QR_CODE_IMG_UPLOAD_FAIL(1000,"二维码上传异常"),
    QR_CODE_ANALYSIS_EXCEPTION(1001,"二维码解析异常"),
    ANALYSIS_SUCCESS(0,"解析成功"),
    QRCODE_UN_BIND_SUCCESS(0,"解绑成功"),
    CHANNEL_NAME_IS_EXIST(1002,"渠道名称已经存在"),
    COOKIE_IS_EXIST(1003,"该账号cookie已经存"),
    QRCODE_AMT(1004,"固码金额有误"),
    CHANNEL_FAIL(1005,"渠道不可用,或不存在"),
    THIRD_CONNECTION_FAIL(1006,"连接第三方出错，请配置好参数")
    ;
    private int code;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
    private SupplierCode(int code,String msg){
        this.code = code;
        this.msg = msg;
    }
}
